package com.xiaoxie.DTO;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

@AllArgsConstructor
@Data
@NoArgsConstructor
@Component
public class wordUpdateDTO {
    //请求行为（right or wrong）
    private String action;
    private String word;
    private String meaning;
    private Integer LexiconID;

    public wordUpdateDTO(String action, String word, String meaning) {
        this.action=action;
        this.word=word;
        this.meaning=meaning;
    }
}
